package item.inkcloud.communityservice.mapper;


import item.inkcloud.communityservice.entity.Comment;
import item.inkcloud.communityservice.pojo.BriefCommentInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.ArrayList;

@Mapper
@Component
public interface CommentMapper {


    void publishComment(Comment comment);


   ArrayList<BriefCommentInfo> findCommentById(String articleId);

}
